<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>
    <?php echo $titlename ?>
    </title>
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css">
  <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
  <script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
</head>
<body>

<!-- <form  name="input" action="index.php?c=Tasks&a=inputSuccess" method="post">
任务标题: <input type="text" name="taskTitle" required><br>
任务详情: <textarea rows="10" cols="30" placeholder="填写任务详情" name="taskInfo" required></textarea>
<input type="submit" value="发布">
</form> -->



<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
  <ul class="navbar-nav">
  <li class="nav-item ">
      <a  class="nav-link" href ="index.php?c=Users&a=home"><?php echo ($this->username . "的任务");?> </a>
    </li>
    <li class="nav-item">
      <a  class="nav-link" href ="index.php?c=Tasks&a=all">所有任务</a>
    </li>
    <li class="nav-item">
    <a class="nav-link" href ="index.php?c=Tasks&a=progress">项目进度</a>
    </li>
    <li class="nav-item active">
    <a  class="nav-link" href ="index.php?c=Tasks&a=input">发布任务</a>
    </li>
    <li class="nav-item">
    <a class="nav-link" href ="index.php?c=Users&a=logOut">注销</a>
    </li>
  </ul>
</nav>  
<div class="container" style="margin-top: 30px">
<div class="row">
<div class="col-2"></div>
<div class="col-8">
  <h2> 发布任务 </h2>
  <form  name="input" action="index.php?c=Tasks&a=inputSuccess" method="post">

    <div class="form-group">
    <label for="taskTitle">任务标题 : </label>
      <input type="text" class="form-control" id="taskTitle" name="taskTitle" required  placeholder="填写任务标题">
    </div>

    <div class="form-group">
    <label for="taskInfo">任务详情:</label>
      <textarea class="form-control" rows="5" id="taskInfo" name="taskInfo" required placeholder="填写任务详情"></textarea>
      <!-- <input type="password" class="form-control" id="password" name="password" placeholder="输入密码"> -->
    </div>

    <button type="submit" class="btn btn-primary  btn-block" >发布</button>

  </form>
  <div class="col-2"></div>
  </div >
</div>
</body>
</html>